#！/bin/bash
for ((a=1;a<=12;a++))
do
  # 注意接收的变量不用写$
  if [ ${a} -lt 10 ]; then
    echo "Chapter0${a}"
    mkdir "Chapter0$a"
  else
     echo "Chapter${a}"
     mkdir "Chapter$a"
  fi
done
